import request from '@/utils/request'

// 登录请求
export const login = data => request.post('/sys/login', data)

// 获取用户个人信息
export const userInfoRequest = () => request.post('/sys/profile')

// 获取用户的详细信息的接口,参数是用户的id
export const userInfoDetailRequest = id => request.get(`/sys/user/${id}`)
